#--
	use as :
	<select name="reg.type">
	#@option1(typeList,"type","name",reg.type??,true)
	</select>	
--#
#define option(selectList,valueName,textName,selectedValue,bAddAll)
	#if(bAddAll)
	<option value=" ">全部</option> 
	#end
	#for(x : selectList)
		#setLocal(xx=x.getColumns()??x)
		<option value='#(xx[valueName])' #(""+xx[valueName] == ""+selectedValue ? "selected" :"")>#(xx[textName])</option>
	#end

#end